/**
 * 
 */
package com.boot.springBoot.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import lombok.Data;

/**
 * @author Administrator
 *
 */
@Data
public class User implements Serializable {


	private static final long serialVersionUID = 1L;
	
	private String id;
    private String userName;
    private String password;
    private String payPassword;
    private String realname;
    private String realnameStatus;
    private int realCount;
    private Date lastFullTime;
    private Date realnameTime;
    private String idNumber;
    private String userSex;
    private int userAge;
    private int amountCredit;
    private int amountApply;
    private String qq;

    private String userPhone;
    private String taobaoAccount;
    private String email;
    private String wechatAccount;
    private String education;
    private String maritalStatus;
    private String presentAddress;
    private String presentAddressDistinct;
    private String presentLatitude;
    private String presentLongitude;
    private String presentPeriod;
    private String companyName;
    private String companyAddress;
    private String companyAddressDistinct;
    private String companyLongitude;
    private String companyLatitude;
    private String companyPhone;
    private String companyPeriod;
    private String firstContactName;
    private String firstContactPhone;
    private String fristContactRelation;
    private String secondContactName;
    private String secondContactPhone;
    private String secondContactRelation;
    private Date createTime;
    private String createIp;
    private Date updateTime;
    private String status;
    private String inviteUserid;
    private String isSave;
    private String headPortrait;
    private String idcardImgZ;
    private String idcardImgF;
    private String customerType;
    private int registType;//注册类型 0 app注册 1 h5要请注册 2手机短信要请注册


    private Integer commitStatus;//全部资料提交状态
    // 商城TOKEN
    private String scToken;
    
    private String paywordAddTime;
    

    public static final String CUSTOMER_OLD = "1";
    public static final String CUSTOMER_NEW = "0";

    public static final Map<String, String> customerTypes = new HashMap<String, String>();

    static {
        customerTypes.put(CUSTOMER_OLD, "老用户");
        customerTypes.put(CUSTOMER_NEW, "新用户");
    }

    /***
     * 用户状态
     */
    public static final String USER_STATUS_WHITE = "1";// 正常用户
    public static final String USER_STATUS_BLACK = "2";// 黑名单用户
    public static final String USER_STATUS_THREE = "3";// 被注销用户

    /**
     * 学历
     */
    public static final LinkedHashMap<String, String> EDUCATION_TYPE = new LinkedHashMap<String, String>();
    /**
     * 婚姻状态
     */
    public static final LinkedHashMap<String, String> MARRIAGE_STATUS = new LinkedHashMap<String, String>();
    /**
     * 居住时长
     */
    public static final LinkedHashMap<String, String> RESIDENCE_DATE = new LinkedHashMap<String, String>();
    /**
     * 直系亲属联系人
     */
    public static final LinkedHashMap<String, String> CONTACTS_FAMILY = new LinkedHashMap<String, String>();
    /**
     * 其他联系人
     */
    public static final LinkedHashMap<String, String> CONTACTS_OTHER = new LinkedHashMap<String, String>();
    /**
     * 工作时长
     */
    public static final LinkedHashMap<String, String> WORK_DATE = new LinkedHashMap<String, String>();
    /**
     * 工作类型
     */
    public static final LinkedHashMap<String, String> WORK_TYPE = new LinkedHashMap<String, String>();

    static {

        EDUCATION_TYPE.put("1", "博士");
        EDUCATION_TYPE.put("2", "硕士");
        EDUCATION_TYPE.put("3", "本科");
        EDUCATION_TYPE.put("4", "大专");
        EDUCATION_TYPE.put("5", "中专");
        EDUCATION_TYPE.put("6", "高中");
        EDUCATION_TYPE.put("7", "初中以下");

        MARRIAGE_STATUS.put("1", "未婚");
        MARRIAGE_STATUS.put("2", "已婚未育");
        MARRIAGE_STATUS.put("3", "已婚已育");
        MARRIAGE_STATUS.put("4", "离异");
        MARRIAGE_STATUS.put("100", "其他");

        RESIDENCE_DATE.put("1", "半年以内");
        RESIDENCE_DATE.put("2", "半年到一年");
        RESIDENCE_DATE.put("3", "一年以上");

        CONTACTS_FAMILY.put("1", "父亲");
        CONTACTS_FAMILY.put("2", "母亲");
        CONTACTS_FAMILY.put("3", "儿子");
        CONTACTS_FAMILY.put("4", "女儿");
        CONTACTS_FAMILY.put("5", "配偶");
        CONTACTS_FAMILY.put("6", "兄弟");
        CONTACTS_FAMILY.put("7", "姐妹");
        CONTACTS_OTHER.put("1", "同学");
        CONTACTS_OTHER.put("2", "亲戚");
        CONTACTS_OTHER.put("3", "同事");
        CONTACTS_OTHER.put("4", "朋友");
        CONTACTS_OTHER.put("5", "其他");

        WORK_DATE.put("1", "一年以内");
        WORK_DATE.put("2", "一到三年");
        WORK_DATE.put("3", "三到五年");
        WORK_DATE.put("4", "五年以上");
        WORK_DATE.put("5", "未知");

        WORK_TYPE.put("1", "上班族");
        WORK_TYPE.put("2", "自由职业");
    }

}
